package fr.bordeaux1.planingdesetudiants.model;

public class Ue {
	private String code;
	private String libelle;
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getLibelle() {
		return libelle;
	}
	public void setLibelle(String libelle) {
		this.libelle = libelle;
	}
	@Override
	public String toString() {
		return "Ue [code=" + code + ", libelle=" + libelle + "]";
	}
	@Override
	public boolean equals(Object obj) {
		if(obj instanceof Ue)
			return ((Ue) obj).getCode().equals(code);
		return false;
	}
	
}
